<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form enctype="multipart/form-data" action="teacher,save" method="POST">
    <!-- MAX_FILE_SIZE must precede the file input field -->
    <input type="hidden" name="MAX_FILE_SIZE" value="3000000" />
    <!-- Name of input element determines name in $_FILES array -->
    老师名 teacherName <input name="teacherName" type="text" value="徐老师" /><br>
    老师类别 teacherTypeId <input name="teacherTypeId" type="text" value="1" /><br>
    封面照片 teacherImg <input name="teacherImg" type="text" value="/up/test.png" /><br>

    教龄 years <input name="years" type="text" value="1" /><br>

    教学方向 subjectId <input name="subjectId" type="text" value="1" /><br>
    出生年 bornYear <input name="bornYear" type="text" value="1980" /><br>
    性别 sex @status;0::未知;1::男;2女;<input name="sex" type="text" value="1" /><br>
    国籍 nation<input name="nation" type="text" value="中国" /><br>
    祖籍 hometown<input name="hometown" type="text" value="hometown" /><br>
    status<input name="status" type="text" value="3" /><br>
    created<input name="created" type="text" value="2019-03-27 08:08:08" /><br>

    <input type="submit" value="Send " />
</form>
</body>
</html>